package com.example.zg.androidnewview;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

public class IndexActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_index);
    }

    public void textInputLayout(View view) {
        Intent intent=new Intent(this,MainActivity.class);
        startActivity(intent);
    }

    public void tabLayout(View view) {
        Intent intent=new Intent(this,TabLayoutActivity.class);
        startActivity(intent);
    }
    public void tabLayout2(View view) {
        Intent intent=new Intent(this,TabLayout2Activity.class);
        startActivity(intent);
    }

    public void snackbar(View view) {
        Intent intent=new Intent(this,SnackbarActivity.class);
        startActivity(intent);
    }

    public void floatingActionButton(View view) {
        Intent intent=new Intent(this,FloatingActionButtonActivity.class);
        startActivity(intent);
    }

    public void navigationView(View view) {
        Intent intent=new Intent(this,NavigationViewActivity.class);
        startActivity(intent);
    }

    public void appBarLayout(View view) {
        Intent intent=new Intent(this,AppBarLayoutActivity.class);
        startActivity(intent);
    }

    public void coordinatorLayout(View view) {
        Intent intent=new Intent(this,CoordinatorLayoutActivity.class);
        startActivity(intent);
    }

    public void collapsingToolbarLayout(View view) {
        Intent intent=new Intent(this,CollapsingToolbarLayoutActivity.class);
        startActivity(intent);
    }

    public void behaviorOnclick(View view) {
        Intent intent=new Intent(this,BehaviorActivity.class);
        startActivity(intent);
    }

    public void recyclerView(View view) {
        Intent intent=new Intent(this,RecyclerViewActivity.class);
        startActivity(intent);
    }
    public void recyclerView2(View view) {
        Intent intent=new Intent(this,RecyclerViewActivity2.class);
        startActivity(intent);
    }

    public void ChangeConfigActivity(View view) {
        Intent intent=new Intent(this,ChangeConfigActivity.class);
        startActivity(intent);
    }
}
